<!DOCTYPE html>
<html lang="cn">
<head>
    <meta charset="utf-8">
    <title>七巧板</title>
</head>
<body>
    <div class="root" id="root"></div>
    <script>
        window.$GLOBALCONFIG = {};
        +function(global){

            // 本地开发打开的路径以及端口
            global.$ctx = "http://localhost:3000";

            global.CTI_SERVER_IP = "210.14.88.129";

            // 用户登出URL
            global.LOGOUT_URL = "http://192.168.1.177:9043/logout?service=http%3A%2F%2F192.168.1.177%3A9043%3Fservice%3Dhttp%3A%2F%2F192.168.1.188%3A19480%2F";

            // 用户登录信息
            global.STAFF = {
                code: 'admin',
                name: '黄焖鸡',
                "previousLoginTime":"2016-08-01 3:11:29",
                "previousLoginIp":"192.168.1.12",
                "previousLoginCity":"",
                "id":"43"
            };
            
            // 系统一二级菜单
            /*global.NAVIGATION = [

                {
                    "id":600110230,
                    "name":"实有房屋",
                    "url":"",
                    "children":[
                        { "id":600110231, "name":"实有房屋（查看）", "url":"houseCheck" },
                        { "id":600110232, "name":"实有房屋（管理）", "url":"houseManage" }
                    ]
                },
                {
                    "id":600110130,
                    "name":"实有人口",
                    "url":"",
                    "children":[
                        { "id":600110131, "name":"三实访查人口", "url":"visit" },
                        { "id":600110132, "name":"依靠力量", "url":"rely" },
                        { "id":600110133, "name":"人员访查提醒", "url":"tip" },
                        { "id":600110134, "name":"常住登记人口", "url":"local" },
                        { "id":600110135, "name":"流动人口登记", "url":"flow" },
                        { "id":600110136, "name":"境外登记人员", "url":"abroad" },
                        { "id":600110137, "name":"从业人员", "url":"job" },
                        { "id":600110138, "name":"历史人员", "url":"old" }
                    ]
                },
            ];*/

            // 系统一二级菜单
            global.NAVIGATION = [

                {
                    "id":600000001,
                    "name":"勤务管理",
                    "url":"",
                    "children":[
                        { "id":600000002, "name":"实时警力", "url":"police" },
                        { "id":600000003, "name":"工作任务", "url":"task" },
                        { "id":600000004, "name":"工作详情", "url":"work" },
                        { "id":600000005, "name":"二维码管理", "url":"qrcode" },
                        { "id":600000006, "name":"社会申报", "url":"declare" },
                        { "id":600000007, "name":"档案号管理", "url":"file" },
                        { "id":600000008, "name":"户号管理", "url":"household" }
                    ]
                },
                {
                    "id":600000100,
                    "name":"基础信息",
                    "url":"",
                    "children":[
                        { "id":600000101, "name":"实有房屋", "url":"house" },
                        { "id":600000102, "name":"实有人口", "url":"pop" },
                        { "id":600000103, "name":"组织架构", "url":"group" },
                        { "id":600000104, "name":"治安情况", "url":"security" },
                        { "id":600000105, "name":"线索记录", "url":"cue" },
                        { "id":600000106, "name":"物品管理", "url":"goods" },
                        { "id":600000107, "name":"统计", "url":"count" }
                    ]
                },
                {
                    "id":600000200,
                    "name":"基础应用",
                    "url":"",
                    "children":[
                        { "id":600000201, "name":"实有房屋", "url":"apphouse" },
                        { "id":600000202, "name":"实有人口", "url":"apppop" }
                    ]
                },
            ];

            
            // 行政区划
            global.ADMINISTRATIVE_DIVISION = [
                {
                    "code": "01",
                    "mean": "交通街道"
                },
                {
                    "code": "02",
                    "mean": "公园街道"
                },
                {
                    "code": "03",
                    "mean": "林荫街道"
                },
                {
                    "code": "04",
                    "mean": "建设街道"
                },
                {
                    "code": "05",
                    "mean": "富兴街道"
                },
                {
                    "code": "06",
                    "mean": "天骄街道"
                },
                {
                    "code": "07",
                    "mean": "河额伦街道"
                },
                {
                    "code": "08",
                    "mean": "巴音门克街道"
                },
                {
                    "code": "09",
                    "mean": "民族街道"
                },
                {
                    "code": "10",
                    "mean": "幸福街道"
                },
                {
                    "code": "11",
                    "mean": "纺织街道"
                },
                {
                    "code": "12",
                    "mean": "兴胜街道"
                },
                {
                    "code": "13",
                    "mean": "铜川镇"
                },
                {
                    "code": "14",
                    "mean": "泊江海子镇"
                },
                {
                    "code": "15",
                    "mean": "罕台镇"
                },
            ]



            // 杭州行政区划
            global.DIVISION = [
                {
                  "id": "10001",
                  "name": "上城区",
                  "pid": "",
                  "lv": "1",
                  "sort": "division",
                  "num": "1000",
                },
                {
                  "id": "10002",
                  "name": "下城区",
                  "pid": "",
                  "lv": "1",
                  "sort": "division",
                  "num": "2000",
                },
                {
                  "id": "10101",
                  "name": "清波街道",
                  "pid": "10001",
                  "lv": "2",
                  "sort": "division",
                  "num": "500",
                },
                {
                  "id": "10102",
                  "name": "湖滨街道",
                  "pid": "10001",
                  "lv": "2",
                  "sort": "division",
                  "num": "300",
                },
                {
                  "id": "10103",
                  "name": "小营街道",
                  "pid": "10001",
                  "lv": "2",
                  "sort": "division",
                  "num": "200",
                },
                {
                  "id": "10108",
                  "name": "南星街道",
                  "pid": "10002",
                  "lv": "2",
                  "sort": "division",
                  "num": "2000",
                },
                {
                  "id": "11001",
                  "name": "定安路社区",
                  "pid": "10101",
                  "lv": "3",
                  "sort": "division",
                  "num": "350",
                },
                {
                  "id": "11009",
                  "name": "劳动路社区",
                  "pid": "10101",
                  "lv": "3",
                  "sort": "division",
                  "num": "150",
                }
            ]

            // 人口类型
            global.POP = [
                {
                  "id": "20001",
                  "name": "常住人口",
                  "pid": "",
                  "lv": "1",
                  "sort": "pop",
                  "num": "1111",
                },
                {
                  "id": "20002",
                  "name": "流动人口",
                  "pid": "",
                  "lv": "1",
                  "sort": "pop",
                  "num": "2111",
                },
                {
                  "id": "20101",
                  "name": "市区",
                  "pid": "20001",
                  "lv": "2",
                  "sort": "pop",
                  "num": "534",
                },
                {
                  "id": "20102",
                  "name": "郊区",
                  "pid": "20001",
                  "lv": "2",
                  "sort": "pop",
                  "num": "232",
                },
                {
                  "id": "21101",
                  "name": "西湖",
                  "pid": "20101",
                  "lv": "3",
                  "sort": "pop",
                  "num": "23",
                },
            ]
            

            }(window.$GLOBALCONFIG);
    </script>

</body>
</html>